package com.ordersystem.service;

import com.ordersystem.domain.Order;
import com.ordersystem.domain.OrderManageData;

import java.util.List;
import java.util.Map;

/**
 * @author : asus1020
 * @version : [v1.0]
 * @className : OrderService
 * @description : [描述说明该类的功能]
 * @createTime : [2022/3/26 17:39]
 * @updateUser : asus1020
 * @updateTime : [2022/3/26 17:39]
 * @updateRemark : [描述说明本次修改内容]
 */
public interface OrderService {
    int addOrder(Order order);
    int parOrder(Integer oid,Integer state);
    int finishOrder(Integer oid,boolean state);
    Map<String,Object>findOrders(String query, Integer type, Integer pagenum, Integer pagesize);
    List<Order>findOrdersByUid(Integer uid);
    List<OrderManageData>getOrderManageData(Integer dataNum);
}
